package com.lagou.mapper;

import com.lagou.pojo.Article;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface ArticleMapper {

    //根据id查询对应的文章
    @Select(" select * from t_article order by id desc")
    public List<Article> selectArticle();

}
